<?php
	$admin_info 		= new Zendvn_System_Info();
	$admin_info 		= $admin_info->getMemberInfo();
	//----------------------- INPUT ELEMENTS -------------------//
	$name 				= $this->Item['name'];
	$diadiemhoc_name	= $this->Item['diadiemhoc_name'];
	if($this->Item['status'] == 1){
		$status 		= 'Có';
	}else{
		$status 		= 'Không';
	}
	$order 				= $this->Item['order'];
	$created			= $this->Item['created'];
	$created_by			= $this->createdBy['name'];
	$modified			= $this->Item['modified'];
	$modified_by		= $this->modifiedBy['name'];
	$content 			= htmlspecialchars_decode($this->Item['content']);

?>
<div class="left_content">
	<?php echo $this->render($this->arrParam['controller'] . '/toolbar/left.php');?>
</div>

<div class="right_content">
	<div class="appContent">
		<form action="" method="post" name="appForm">
			<?php echo $this->render($this->arrParam['controller'] . '/toolbar/index.php');?>
			<?php
				//-------------------- SESSAGES ERROR ------------------
				if(count($this->messageError)>0){
					foreach ($this->messageError AS $key => $val){
						echo '<div class="listError" data="'.$key.'" rel="' . $val . '"></div>';
					}
					echo '<div class="thongbaoError goc5">Có lỗi trong quá trình xử lý.</div>';
				} 
			?>
			<div id="tabs">
				<ul>
					<li><a href="#tabs-1">Thông tin chung</a></li>
				</ul>
				<div id="tabs-1">
					<div class="tblForm">
						<div class="tbl_content">
							<table class="tbl tbl_info">
								<tr>
									<td class="label">Tên phòng:</td>
									<td><?php echo $name;?></td>
								</tr>
								<tr>
									<td class="label">Địa điểm:</td>
									<td><?php echo $diadiemhoc_name;?></td>
								</tr>
								<tr>
									<td class="label">Thứ tự:</td>
									<td><?php echo $order;?></td>
								</tr>
								<tr>
									<td class="label">Hiển thị:</td>
									<td><?php echo $status;?></td>
								</tr>
								<tr>
									<td class="label">Tạo lúc:</td>
									<td><?php echo $created;?></td>
								</tr>
								<tr>
									<td class="label">Tạo bởi:</td>
									<td><?php echo $created_by;?></td>
								</tr>
								<tr>
									<td class="label">Sửa lúc:</td>
									<td><?php echo $modified;?></td>
								</tr>
								<tr>
									<td class="label">Sửa bởi:</td>
									<td><?php echo $modified_by;?></td>
								</tr>
								<tr>
									<td class="label">Nội dung:</td>
									<td><?php echo $content;?></td>
								</tr>
							</table>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<div class="clr"></div>	